To our rescue comes the array. To solve our cricket scores problem we can create an array which holds all the scores in a single variable:

int s [11] ;

The compiler can tell that s is an array because the variable name is followed by a number in square brackets. This gives the dimension of the array. In this case we are holding 11 scores, but we can make much bigger arrays (memory permitting) by putting a larger number there.